//
//  FxTabBar.h
//  TodayComment
//
//  Created by 张吉阳 on 15/10/7.
//  Copyright (c) 2015年 xianrenmoshi. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol FxTabBarDelegate;
@interface FxTabBar : UIView{
    UIImageView *_backgroundView;
}
@property (nonatomic, assign)id<FxTabBarDelegate> delegate;
@property (nonatomic, strong)NSMutableArray *buttons;
- (instancetype)initWithFrame:(CGRect)frame buttonImages:(NSArray *)imageArray;
- (void)selectTabAtIndex:(NSInteger)index;
- (void)removeTabAtIndex:(NSInteger)index;
- (void)insertTabWithImageDic:(NSDictionary *)dict atIndex:(NSUInteger)index;
@end
@protocol FxTabBarDelegate<NSObject>
- (void)tabBar:(FxTabBar *)tabBar didSelectIndex:(NSInteger)index;
@end